/*******************createImage*******************/
.createImage {
  height: 100vh;
  position: relative;

  :global {
    .ant-layout {
      background-color: #fff;
      height: 100%;
    }

    .setting-btn {
      position: absolute;
      left: 0;
      top: 50%;
      transform: translate(-100%, -50%);
      display: none;
      z-index: 102;
    }

    @media screen and (max-width: 768px) {
      .ant-layout-sider {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100%;
        min-width: 100vw !important;
        z-index: 99;
        transition: right 0.5s ease-in-out;
      }

      .setting-btn {
        display: block;
      }

      .show-config {
        right: 0;

        .setting-btn {
          left: 100%;
        }
      }
    }
  }

  h2 {
    border-bottom: 1px solid #f1f1f1;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    font-weight: bold;
    font-size: 14px;
    padding-left: 20px;
    height: 50px;
    line-height: 50px;
    margin: 0;
  }
}

/*******************sider*******************/
.sider {
  min-width: 400px !important;
  border-left: 1px solid #f1f1f1;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

/*******************leftContent*******************/
.leftContent {
  height: calc(100% - 51px);
  overflow-y: scroll;
  display: flex;
  justify-content: center;
  align-items: center;

  .boxContainer {
    border: 1px solid #f1f1f1;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
  }

  .box {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }
}

/*******************rightContent*******************/
.rightContent {
  height: calc(100% - 51px);

  .formContainer {
    padding: 10px 20px;
    height: calc(100% - 50px);
    overflow-y: scroll;
  }

  .btnContainer {
    height: 50px;
    border-top: 1px solid #f1f1f1;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    line-height: 50px;
    padding-left: 20px;

    :global {
      .ant-btn {
        margin-right: 10px;
      }
    }
  }
}

/*******************shuiyin*******************/
.shuiyin {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: repeat;
  pointer-events: none;
  z-index: 101;
}
